$main-padding: 30px;
$line-color: #dadfe6;

.soular-dynamic-center{
    box-sizing: border-box;
    .dynamic-item{
        margin-bottom: 30px;
        .dynamic-item-time{
            font-size: 15px;
            font-weight: bold;
            line-height: 34px;
            padding-left: $main-padding;
            position: relative;
            &:before{
                content: "";
                display: inline-block;
                position: absolute;
                top: 24px;
                left: 5px;
                width: 0;
                height: calc(100% + 16px);
                border-left: 1px solid $line-color;
            }
            &:after{
                content: "";
                display: inline-block;
                position: absolute;
                top: 14px;
                left: 0;
                width: 11px;
                height: 11px;
                border: 3px solid var(--tiklab-blue);
                border-radius: 50%;
            }
            &>span{
                display: inline-block;
                background: var(--soular-backdrop-color);
                padding: 0 10px;
            }
        }
        .dynamic-item-log{
            display: flex;
            align-items: center;
            padding: 10px 0 10px 30px;
            min-width: 0;
            position: relative;
            &:before{
                content: "";
                display: inline-block;
                position: absolute;
                top: 50%;
                left: 5px;
                width: 0;
                height: calc(100% + 10px);
                border-left: 1px solid $line-color;
            }
            &:after{
                content: "";
                display: inline-block;
                position: absolute;
                top: 35px;
                left: 1.5px;
                width: 8px;
                height: 8px;
                background: $line-color;
                border-radius: 50%;
            }
            .dynamic-item-log-time{
                margin-right: 30px;
            }
            .dynamic-item-log-info{
                margin-left: 10px;
                min-width: 0;
                .dynamic-item-log-info-name{
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    -o-text-overflow: ellipsis;
                    &:hover{
                        cursor: pointer;
                        text-decoration: underline;
                        color: var(--tiklab-blue);
                    }
                }
                .dynamic-item-log-desc{
                    display: flex;
                    align-items: center;
                    min-width: 0;
                    padding-top: 5px;
                    .log-desc-message,.log-desc-action{
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        -o-text-overflow: ellipsis;
                    }
                    .log-desc-action{
                        font-size: 13px;
                        color: var(--tiklab-gray-500);
                    }
                    .log-desc-message{
                        padding: 4px;
                        border-radius: 4px;
                        font-size: 12px;
                        margin-left: 10px;
                        max-width: 200px;
                    }
                }
            }
        }
        &:last-child .dynamic-item-log:last-child{
            &:before{
                content: none;
            }
        }
    }
}

